import { lazy } from "react"
let Index = lazy( () => import( '../../view/LSZ/switch' ) )
// 门路径
let Door = lazy(()=>import('../../view/LSZ/door'))
// 窗户
let Window = lazy(()=>import('../../view/LSZ/Window'))
// 查看量房子
let LookHome  = lazy(()=>import('../../view/LSZ/LookHpme'))
let router = [
    { path: "/switch", element: <Index></Index> },
    // 门
    { path: "/door", element: <Door></Door> },
    // 测量窗户的路径
    { path: "/window", element: <Window></Window> },
    { path: "/lookhome", element: <LookHome></LookHome> },

]
export default router